package com.scm.bean;

import java.util.HashSet;
import java.util.Set;

/**
 * Storage entity. @author MyEclipse Persistence Tools
 */

public class Storage implements java.io.Serializable {

	// Fields

	private Integer storageId;
	private String storageName;
	private String storageAddress;
	private Integer vehicleNum;
	private Set storagepositions = new HashSet(0);

	// Constructors

	/** default constructor */
	public Storage() {
	}

	/** minimal constructor */
	public Storage(String storageName, String storageAddress, Integer vehicleNum) {
		this.storageName = storageName;
		this.storageAddress = storageAddress;
		this.vehicleNum = vehicleNum;
	}

	/** full constructor */
	public Storage(String storageName, String storageAddress,
			Integer vehicleNum, Set storagepositions) {
		this.storageName = storageName;
		this.storageAddress = storageAddress;
		this.vehicleNum = vehicleNum;
		this.storagepositions = storagepositions;
	}

	// Property accessors

	public Integer getStorageId() {
		return this.storageId;
	}

	public void setStorageId(Integer storageId) {
		this.storageId = storageId;
	}

	public String getStorageName() {
		return this.storageName;
	}

	public void setStorageName(String storageName) {
		this.storageName = storageName;
	}

	public String getStorageAddress() {
		return this.storageAddress;
	}

	public void setStorageAddress(String storageAddress) {
		this.storageAddress = storageAddress;
	}

	public Integer getVehicleNum() {
		return this.vehicleNum;
	}

	public void setVehicleNum(Integer vehicleNum) {
		this.vehicleNum = vehicleNum;
	}

	public Set getStoragepositions() {
		return this.storagepositions;
	}

	public void setStoragepositions(Set storagepositions) {
		this.storagepositions = storagepositions;
	}

}